package com.pucong.gitee.database.backup.business.database.cover;

import com.pucong.gitee.database.backup.common.entity.database.AutoDataSource;
import com.pucong.gitee.database.backup.common.entity.database.BackupSearchSqlInfo;
import com.pucong.gitee.database.backup.common.entity.database.dto.AutoDataSourceSaveDto;
import com.pucong.gitee.database.backup.common.entity.database.dto.AutoDataSourceTestConnectDto;
import com.pucong.gitee.database.backup.common.entity.database.dto.BackupSearchSqlInfoSaveDto;
import org.mapstruct.Mapper;

/**
 * @author pucong
 * @url https://gitee.com/pucong
 * @create 2022.02.25
 */
@Mapper(componentModel = "spring")
public interface DataSearchSqlBeanConvert {

    /**
     * dto转do
     * @return
     */
    BackupSearchSqlInfo dto2do(BackupSearchSqlInfoSaveDto dto);

}
